package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDateTime;

/**
 * 财务类型实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "BillType")
public class BillType extends BaseModel {
    @PrimaryKey
    @Field("BillTypeCode")
    private String billTypeCode;
    @Field("BillTypeName")
    private String billTypeName;
    @Field("ReligionCode")
    private String religionCode;
    @Field("ReligionName")
    private String religionName;
    @Field("Type")
    private Integer type;
    @Field("CreateTime")
    private LocalDateTime createTime;
    @Field("UpdateTime")
    private LocalDateTime updateTime;
}
